package com.example.javaweb.controller;


import com.example.javaweb.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class UserController {
    @Autowired
    UserService userService;

    //get方式发送请求来得到数据
    @GetMapping("/user")
    public String login(){
        return "login";
    }

    //
}
